all:
	gcc -g -o demo demo.c -loctopus
	gcc -g -o adc adc.c -loctopus
	#gcc -g -o i2c i2c.c -loctopus
	gcc -g -o togl togl.c -loctopus
	gcc -g -o spi spi.c -loctopus
	gcc -g -o io_input io_input.c -loctopus
	gcc -g -o  threaddemo threaddemo.c -loctopus -lpthread

win:
	gcc -o demo.exe ../../libs/c/octopus.o demo.c -lusb -I /c/Programme/libusb-win32-device-bin-0.1.10.1/include -L /c/Programme/libusb-win32-device-bin-0.1.10.1/lib/gcc -L ../../libs/c -I ../../liboctopus/src


clean:
	rm demo
